* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

/* shopping界面 */

/* 页首 */
.header {
    height: 50px;
    text-align: center;
    background: rgb(2, 153, 253);
    line-height: 50px;
    font-size: 15px;
    color: white;
}


/* 商户信息 */
.first {
    margin: 10px;

}

.first #image{
    width: 35%;
    margin: 15px auto 15px auto;
}

.first #image #p{
    width: 100%;
    height: 100px;
}

.first #s01 {
    font-size: 18px;
    font-weight: 800;
    text-align: center;
}

.first #s02 {
    font-size: 10px;
    text-align: center;
    color: gray;
    margin-top: 5px;
}


/* 商户菜单 */
.menu-list {
    margin: 0;
    padding: 0;
}

.menu-item {
    margin: 10px;
    padding-bottom: 10px;
    color: #7e8793;
    text-decoration: none;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item > img {
    width: 20%;
    border-radius: 3px;
}

.menu-item .text {
    width: 100%;
    margin-left: 10px;
}

.menu-item .name {
    color: black;
    font-size: 15px;
    font-weight: 600;
}

.menu-item .material {
    font-size: 12px;
    color: rgb(114, 114, 114);
    margin: 5px 0;
}

.menu-item .money {
    font-size: 12px;
    color: rgb(114, 114, 114);;
}

.AD {
    width: 40%;
}

.minute {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    color: white;
    font-weight: 600;
    padding: 0;
    outline: none;
    background-color: rgb(160, 160, 160);
}

.add {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    color: white;
    font-weight: 600;
    padding: 0;
    outline: none;
    background-color: rgb(2, 153, 253);
}

.qua {
    margin: 10px;
    width: 20px;
    text-align: center;
    outline: none;
    border:none;
}

.null {
    height: 50px;
}


/* 购物结算车栏 */
.footer {
    height: 50px;
    margin-top: 10px;
    background-color: rgb(82, 82, 82);
    border-radius: 3px;
    /* position:fixed; */
    z-index: 9997;
}

.num {
    position: relative;
}

.PP {
    width: 60px;
    height: 60px;
    background: url(../img/购物车按钮.jpg) no-repeat;
    border-radius: 100%;
    border:5px solid rgb(53, 53, 53);
    position:absolute;
    left: 20px;
    bottom: -15px;
    z-index:9998;
}

.RP {
    width: 20px;
    height: 20px;
    background-color: red;
    border-radius: 100%;
    font-size: 10px;
    text-align: center;
    align-items: 20px;
    color: white;
    position:absolute;
    left: 60px;
    bottom: 25px;
    z-index:9999;
}

.sub {
    width: 100px;
    height: 50px;
    border-radius: 3px;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: white;
    background-color: rgb(51, 206, 103);
} 

.m1 {
    font-size: 15px;
    font-weight: 400;
    color: white;
}

.m2 {
    font-size: 10px;
    font-weight: 200;
    color: rgb(184, 184, 184);
}

/* subb界面 */

.mm1 {
    margin: 20px 0 20px 20px;
    font-size: 15px;
    color: rgb(175, 175, 175);
}

.mm2 {
    margin: 0 0 20px 20px;
    font-size: 15px;
    color: rgb(0, 0, 0);
}

.mm21:after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border: 1px solid #999999;
    margin-left: 0.5rem;
    /* 要将两个方框的两个边取消掉 */
    border-style: solid none none solid;
    /* 旋转 */
    transform: rotate(225deg);
    /* 当产生动画的时候会有偏移 右为2px 上边为1px*/
    transform-origin: 2px 1px;
    /* 添加动画的效果 */
    transition: all 0.3s;
}

.mm22 {
    margin-right: 20px;
    font-size: 15px;
    color: red;
}

.mm3 {
    margin: 20px 0 20px 20px;
}

.bt {
    margin: 20px 5%;
    width: 90%;
    height: 40px;
    font-size: 18px;
    color: white;
    background-color: rgb(0, 179, 80);
    border-radius: 5px;
    border: none;
}

.Options {
    margin: 40px 0;
    padding: 20px 40px 20px 40px ;
    height: 60px;
    border: 1px solid #c5c5c5;
}

.o1 {
    width: 20px;
}

.o2 {
    width: 25px;
    font-size: 7px;
}